<?php

/**
 * @author thihien
 * @copyright 2011
 */
require_once('includes/general.php');
if(!tep_db_checkDb()) die('khong ket noi dc csdl');
$mathongtincanbo=$_GET['mathongtincanbo'];
$content='';
$sql='select * from tbl_thong_tin_chi_tiet_can_bo where ma_thong_tin_can_bo='.$mathongtincanbo;
$kq=tep_db_query($sql);
$stt=0;
$sql1='select * from tbl_thong_tin_can_bo where id='.$mathongtincanbo;
$kq1=tep_db_query($sql1);
$item1=tep_db_fetch_array($kq1);
$content.=' <div id="center">
    <div class="tieude_center" id="tieude_thongtin"><h3>'.$item1['tieu_de'].'</h3></div>
    <table class="thongtin_canbo">
                <tr>
                    <td>STT</td>
                    <td>Họ Tên</td>
                    <td>Học Hàm/Học Vị</td>
                    <td>Chức Vụ</td>
            
        
                </tr>';
                while($item=tep_db_fetch_array($kq)){
                    $content.='
                    <tr>
                        <td>'.$stt++.'</td>
                        <td><a href="?macanbo='.$item['id'].'&mathongtincanbo='.$item['ma_thong_tin_can_bo'].'&mode=detail">'.$item['ho_ten'].'</a></td>
                        <td>'.$item['hoc_ham'].'</td>
                        <td>'.$item['chuc_vu'].'</td>
                        
                    
                    </tr>';
        
        
    }

$content.='</table></div>';

echo $content;
?>